package de.axiscars;

/**
 * This class is used to create an object Station. It includes all attributes
 * that belong to a station, the default constructor and constructor.
 * 
 * @author Sabrina Schwarze
 * @author Ramiz Loki
 * @author Hendrik Bielefeld
 *
 */

public class Station {
	
    private int 		id;
    private String 		zip_code;
    private String	 	city;
    private String 		street;
    private String		street_nr;
    private String		phone;
    private String		email;
    
     // The default constructor is very important, because it
     // is always used by Axis2
     public Station() {
     }

     public Station(int id, String zip_code, 
    		 		String city, String street, String street_nr, 
    		 		String phone, String email) {
        this.id				= id;
        this.zip_code 		= zip_code;
        this.city 			= city;
        this.street			= street;
        this.street_nr 		= street_nr;
        this.phone 			= phone;
        this.email 			= email;
     }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getZip_code() {
		return zip_code;
	}

	public void setZip_code(String zip_code) {
		this.zip_code = zip_code;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getStreet_nr() {
		return street_nr;
	}

	public void setStreet_nr(String street_nr) {
		this.street_nr = street_nr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
